package main

import (
	"fmt"
	"time"
)

func main() {

	now := currentTime()
	fmt.Println("当前时间：", now)
}

func currentTime() string {
	return time.Now().Format("2006-01-02 15:04:05")
}
